#!/bin/bash
# -*- mode:bash; -*-
# File: rim-loader.bashunit
# Testing rim-loader.
# Copyright (c) 2010 Radek Hnilica

source memory.sh
source rim-loader.sh

test_loadSimple() {
    loadRIM "pdp8progs/simple.rim"
    assert_equal $((02525)) $(memory_read 070)
    assert_equal $((07000)) $(memory_read 0)
    assert_equal $((07402)) $(memory_read 1)
}
